package com.example.jetpack;

public class StarUtil {
    public static String getStar(int star){
        switch (star){
            case 1:
                return "一星";
            case 2:
                return "二星";
            case 3:
                return "三星";
            case 4:
                return "四星";
            case 5:
                return "五星";
            case 6:
                return "六星";
        }
        return "无星级";
    }
}
